//
//  IJImagesPicker.h
//  iwjw
//
//  Created by ChenJianjun on 2017/1/17.
//  Copyright © 2017年 iwujwu. All rights reserved.
//

#import <Foundation/Foundation.h>

/// 系统相机、相册调用
@interface IJImagesPicker : NSObject

@property (nonatomic, weak) UIViewController * _Nullable controller;

- (void)pickImageWithSourceType:(UIImagePickerControllerSourceType)sourceType
                  allowsEditing:(BOOL)allowsEditing
                     completion:(nullable void(^)(NSDictionary<NSString *,id> *_Nullable info))completion;

- (void)pickerImagesWithMaxImagesCount:(NSInteger)maxImagesCount
                            completion:(nullable void(^)(NSArray<UIImage *> *_Nullable images))completion;


- (void)pickerVideoCompletion:(nullable void (^)(UIImage * _Nullable coverImage,_Nullable id asset))completion;

@end
